package com.dd.keel.core.common.flea;

public class DefaultProtocolEncoder implements ProtocolEncoder{

	public void clean() 
	{
		//do nothing
	}
	
	public byte[] encode(FleaMessage message) throws EncodeException 
	{
		message.beforeEncode();
		return message.encode();
	}
	
}
